#ifndef CAL_WIND_AVG_H
#define CAL_WIND_AVG_H

void cal_wind_avg(const double * vVelocity,const double * hVelocity,const double * hAngle,const double * snr,const bool * valid,\
                  double * avg_vVelocity,double * avg_hVelocity,double * avg_hAngle,double * avg_snr,int * avg_valid,\
                  int data_num,int pre_data_weight);
void cal_scalar_avg(const double * input,double * avg,const double weight);
void cal_vector_avg(const double * input_length,const double * input_angle,double * avg_length,double * avg_angle,const double weight);

#endif // CAL_WIND_AVG_H
